home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RRRREEEENNNNAAAAMMMMEEEEHHHHOOOOSSSSTTTT((((3333NNNN)))) RRRREEEENNNNAAAAMMMMEEEEHHHHOOOOSSSSTTTT((((3333NNNN))))
-
-
-
- NNNNAAAAMMMMEEEE
- renamehost - rename the existing hostname in NIS hosts database
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- iiiinnnntttt rrrreeeennnnaaaammmmeeeehhhhoooosssstttt((((cccchhhhaaaarrrr ****oooollllddddnnnnaaaammmmeeee,,,, cccchhhhaaaarrrr ****nnnneeeewwwwnnnnaaaammmmeeee,,,, cccchhhhaaaarrrr ****aaaalllliiiiaaaasssseeeessss,,,,
- cccchhhhaaaarrrr ****ppppaaaasssssssswwwwdddd))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- RRRReeeennnnaaaammmmeeeehhhhoooosssstttt sends an host rename request to _r_e_g_i_s_t_r_a_r(_1_M) on NIS master
- via the _y_p__u_p_d_a_t_e(_3_R) call. The result is that the new host name will be
- associated with the original internet address. This routine should be
- used only when NIS is enabled in the network. This function call can not
- only change the hostname, but also modify the aliases.
-
- The arguments for the routine are:
-
- oooollllddddnnnnaaaammmmeeee
- The original host name.
-
- nnnneeeewwwwnnnnaaaammmmeeee
- The new host name for the internet address. This new name
- should not be already used by other host. However, it can be
- the alias of the original host. User may want to use this call
- to swap the alias and host name. User also can use this call
- just to modify the alias when _n_e_w_n_a_m_e is the same as _o_l_d_n_a_m_e.
-
- aaaalllliiiiaaaasssseeeessss
- The new aliases, each separated by spaces, of the host. The
- maximum number of characters allowed in the string is
- MAX_ALIASES defined in <sun/hostreg.h>. The new aliases can be
- the same as the original aliases, or contains the old host
- name. A NULL indicates the alias is omitted.
-
- ppppaaaasssssssswwwwdddd
- The root password of NIS master. If NIS master does not have
- root password, simply pass a NULL.
-
- On successful completion, RRRReeeennnnaaaammmmeeeehhhhoooosssstttt returns NULL. The unsuccessful
- return code are defined in <rpcsvc/ypclnt.h>.
-
- RRRReeeennnnaaaammmmeeeehhhhoooosssstttt always wait until NIS databases are pushed to all slave
- servers.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- registrar(1M), yp_update(1M), registerinethost(3N), unregisterhost(3N),
- yppush(1M)
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-